package com.bainuo.doctor.common.constant;

/**
 * Description:常量池
 * Created by MonkeyShen on 2017/1/18.
 * Mail:shenminjie92@sina.com
 */

public class Constant {


    /**
     * 设置字体扩大数值，默认是2
     */
    public static float TEXT_SIZE = 2;
    /**
     * 字体刻度
     */
    public static final int TEXT_SIZE_SCALE = 2;

    /**
     * ssh key
     */
    public static final String PARAM_SSKEY = "PARAM_SSKEY";

    /**
     * 本地保存User对象
     */
    public static final String LOCAL_KEY_USER = "LOCAL_KEY_USER";
    public static final String LOCAL_KEY_PERSONALSERVERS = "LOCAL_KEY_PERSONALSERVERS2";

    /**
     * 业务动态查询参数
     * 状态：0＝新增，1＝发起中，2＝进行中，3＝已结束
     */
    public static final int BUSSINESS_DYNAMIC_STATUS_CREATE = 0;
    public static final int BUSSINESS_DYNAMIC_STATUS_INIT = 1;
    public static final int BUSSINESS_DYNAMIC_STATUS_PROCESSING = 2;
    public static final int BUSSINESS_DYNAMIC_STATUS_END = 3;
    public static final int BUSINESS_DYNAMIC_STATIS_CANCLE = 4;
    public static final int BUSINESS_DYNAMIC_STATIS_RETURN = 5;


    /**
     * 类型（1：问诊，2：会诊，3：随访，4：诊疗记录）
     */
    public static final int BUSSINESS_DYNAMIC_TYPE_INQUIRY = 1;
    public static final int BUSSINESS_DYNAMIC_TYPE_CONSULATION = 2;
    public static final int BUSSINESS_DYNAMIC_TYPE_FLLOWUP = 3;
    public static final int BUSSINESS_DYNAMIC_TYPE_DIAGNORECORD = 4;
    /**
     * 用户查询类型： 1=名字 2=医院名称3= 科室
     */
    public static final String SEARCH_USER_TYPE_UID = "3";
    public static final String SEARCH_USER_TYPE_MODEL = "2";
    public static final String SEARCH_USER_TYPE_NAME = "1";


    /**
     * 性别
     */
    public static final String GENDER_MAN = "MAN";
    public static final String GENDER_LADY = "LADY";
    public static final String GENDER_UNKNOW = "UNKNOWN";

    /**
     * 添加好友 1＝申请，2＝同意，3＝拒绝
     */
    public static final String INT_ADD_FRIEND_TYPE_APPLY = "1";
    public static final String INT_ADD_FRIEND_TYPE_CONSENT = "2";
    public static final String INT_ADD_FRIEND_TYPE_REFUSE = "3";


    /**
     * 临时保存信息，用于预览模块的操作
     * 保存患者信息
     * 医生建议列表
     * MDT报告
     */
    public static final String HAWK_KEY_EXPERT_ADVICES = "HAWK_KEY_EXPERT_ADVICES";

    /**
     * 本地数据，首页
     */
    public static final String LOCAL_DATA_HOME_PAGE = "LOCAL_DATA_HOME_PAGE";

    public static final String LOCAL_DATA_HOME_BACKLOG_TASK = "LOCAL_DATA_HOME_BACKLOG_TASK";

    public static final String LOCAL_TEXT_SIZE = "LOCAL_TEXT_SIZE";

    /**
     * 转换地址
     * 当这个不为空，优先使用这个地址
     */
    public static String TESTURL = null;


    public static final int INT_ENTER_TYPE_ADD_FRIEND = 0;//添加好友验证
    public static final int INT_ENTER_TYPE_EDIT_GORUPNAME = 1;//修改群名称


    /**
     * 只读状态
     * 为患者添加患者计划
     * 停止患者计划
     * 从系统库添加随访计划
     */
    public static final int TYPE_READ_ONLY_FOLLOW_UP = 1;
    public static final int TYPE_ADD_FOLLOW_UP_PLAN_BY_PATIENT = 2;
    public static final int TYPE_END_FOLLOW_UP_PLAN_BY_PATIENT = 3;
    public static final int TYPE_ADD_FOLLOW_UP_PLAN_BY_SYSTEM = 4;
    /**
     * 订单状态
     * 0=未支付，1=已支付，
     * 2=已退款，3=已取消
     */
    public static final int TYPE_ORDER_NO_PALY = 0;
    public static final int TYPE_ORDER_PALY = 1;
    public static final int TYPE_ORDER_REFUND = 2;
    public static final int TYPE_ORDER_CEACEL = 3;


    /**
     * 默认选中位置
     * mdt详情 跳转位置
     */
    public static final int DEFAULT_POSITION_MDTINFO = 0;
    public static final int DEFAULT_POSITION_CHAT = 1;


    /**
     * 医生和患者
     */
    public static final int INT_ROLE_PATIENT = 1000;//患者
    public static final int INT_ROLE_DOCTOR = 2000;//注册医生
    public static final int INT_ROLE_DOCTOR_ESTAB = 2100;//认证医生
    public static final int INT_ROLE_DOCTOR_EXPERT = 2200;//专家医生
    public static final int INT_ROLE_DOCTOR_SIGN = 1;//医生签约专家


    public static final int INT_AUTH_DOCTOR = 0;//医生认证
//    public static final int INT_AUTH_SYS = 1;//权威认证
    public static final int INT_SUBJECT = 2;//课题审核
    public static final int INT_SIGN = 3; //医生签约

    /**
     * logout
     */
    public static final String MAIN_JUMP_TYPE = "MAIN_JUMP_TYPE";
    public static final int INT_LOGOUT = 100;//退出登录
    public static final int INT_SSKEY_CODE = 101;//用户身份过期
    public static final int INT_JUMP_CHAT = 102;//跳转至聊天页面
    public static final int INT_SETTING_FONT = 103;// 修改设置字体
    /**
     * 推送点击事件，未完成事件
     */
    public static final String LOCAL_UN_HANDLE_BANNER = "LOCAL_UN_HANDLE_BANNER";

    /**
     * xmpp  收到通知的action
     */
    public static final String XMPP_CALL_ACTION = "com.bainuo.doctor.receiver.NotifyCallReceiver";
    /**
     * IM 点击头像
     */
    public static final String CHAT_AVATAR_ACTION = "com.bainuo.doctor.receiver.chatavatar";
    /**
     * 记录系统通知数量
     */
    public static final String SYS_NOTIFY_COUNT_ANWSER = "sys_notify_count_answer";


    /**
     * 待办任务类型：
     * SET_TIME("随访开始时间设置"),
     * WRITE_QUESTION("随访问卷填写");
     * 任务处理状态
     * ABEYANCE("暂不处理"),
     * PROCESSED("已处理"),
     * UNTREATED("未处理");
     */
    public static final String FUV_AWAIT_TASK_TYPE_SET_TIME = "SET_TIME";
    public static final String FUV_AWAIT_TASK_TYPE_WRITE_QUESTION = "WRITE_QUESTION";
    public static final String FUV_AWAIT_TASK_STATUS_ABEYANCE = "ABEYANCE";
    public static final String FUV_AWAIT_TASK_STATUS_PROCESSED = "PROCESSED";
    public static final String FUV_AWAIT_TASK_STATUS_UNTREATED = "UNTREATED";


    /**
     * 模板库类型  0 问卷库 1患教库
     */
    public static final int TYPE_PATIENT_LIB = 1;
    public static final int TYPE_QUESTION_LIB = 0;


    /**
     * 患者首页筛选 类型 条件类型：1=标签，2=疾病，3=其他
     */
    public static final int TYPE_FILTER_LABEL = 1;
    public static final int TYPE_FILTER_PATHEMA = 2;
    public static final int TYPE_FILTER_ORTER = 3;

    /**
     * 消息助手ID  用于IM
     */
    public static final String MSG_HELPER_UID = "xiaoxizhushou666";

    /**
     * 更新版本的 下载包名
     */
    public static final String FILE_NAME = "bainuo.apk";//文件名加后缀
}
